package com.atguigu.springboot.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @Author: 19shusheng.com
 * @Description:
 * @Date: Created in 21:29 2020/10/29
 * @Modified By:
 */
public interface LoadBalancer {
    /**
     *
     * @Description: 容器加载的时候的list中的对象
     *
     * @auther: madonghui
     * @date: 21:39 2020/10/29
     * @param: [serviceInstances]
     * @return: org.springframework.cloud.client.ServiceInstance
     *
     */
    ServiceInstance instances(List<ServiceInstance> serviceInstances);
}
